/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.demo.axis;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author vacoor
 */
public class HelloWorld {
    private static final Logger LOGGER = LoggerFactory.getLogger(HelloWorld.class);

    public String sayHello(String name) {
        return "Hello, " + name;
    }

    public String sayHello2(User user) {
        return "Hello, " + user;
    }

    public static class User {
        private String name;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static void main(String[] args) {
        LOGGER.warn("debug: {}", LOGGER.getClass());
    }

}
